package booroo.basic;

import java.util.Scanner;

public class J02_CatchNumber {

	public static void main(String[] args) {
		Scanner sc=null;
		int num1, num2=77;
		sc=new Scanner(System.in);
		System.out.println("1~100까지의 숫자중 하나를 입력하세요 : ");
		num1=sc.nextInt();
		sc.close();
		if (num1>num2){System.out.println("추측한 숫자가 큽니다");}
		else if(num1<num2){System.out.println("추측한 숫자가 작습니다");}
		else {System.out.println("빙고!숫자를 맞췄습니다");}
	}

}
